/*
 * Copyright (c) 2001-2023 cnstrong.cn Corporation Limited. All rights reserved.
 * This software is the confidential and proprietary information of cnstrong.cn Company.
 * ("Confidential Information").
 * You shall not disclose such Confidential Information and shall use it only
 * in accordance with the terms of the license agreement you entered into with cnstrong.cn.
 */
package com.tree.config.base;

/**
 * 常量类
 *
 * @author Braveheart
 * @version V1.0
 * @since 2023-12-29
 */
public class WeTreeConstants {

    // 缓存设置1小时
    public static final int CODIS_EXPIRE = 3600;
    // 预防缓存穿透过期时长：10分钟
    public static final int PIERCE_THROUGH_EXPIRE = 600;
    public static final String CODIS_VALUE_NAMESPACE = "consult:big:sword:dict:value:";

    // 预防缓存穿透 默认值
    public static final String CODIS_VALUE_PIERCE_THROUGH = "Undefined";

}
